<%--
  Created by IntelliJ IDEA.
  User: 23738
  Date: 2024/6/12
  Time: 21:23
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>新增</title>
    <link rel="stylesheet" type="text/css" href="../../css/2024-06-06_new.css">
</head>
<body>
<div class="nev">
    <form action="${pageContext.request.contextPath}/JspServlet?method=userAdd" method="post">
        <input type="text" name="userName" placeholder="请输入用户名" value="admin" required>
        <input type="password" name="userPwd" placeholder="请输入用户密码" value="123456" required>
        <input type="text" name="userAge" placeholder="年龄" value="18" required oninput="this.value = this.value.replace(/[^0-9.]/g, '')">
        <label><input type="radio" name="userSex" class="key" value="1" checked>男</label>
        <label><input type="radio" name="userSex" class="key" value="2">女</label><br>
        <input type="text" name="userPhone" placeholder="请输入手机号码" value="10086" required oninput="this.value = this.value.replace(/[^0-9.]/g, '')">
        <input type="text" name="userAddress" placeholder="请输入所在城市" value="福建省" required>
        <input type="date" name="userTime" placeholder="请输入出生日期" required>
        <label><input type="radio" name="roleType" class="key" value="1">老师</label>
        <label><input type="radio" name="roleType" class="key" value="2" checked>学生</label><br>
        <input type="submit" value="提交" id="submit">
        <input type="reset" value="清空" id="reset">
    </form>
</div>
</body>
</html>